﻿@model LeEdu.MODEL.GapFilling
    @{
        Layout = null;
    }

    <!DOCTYPE html>
    <script src="~/Content/ckeditor/ckeditor.js"></script>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

        <meta property="qc:admins" content="24314006454166375">
        <meta name="baidu-site-verification" content="KvVr95tdga">

        <meta name="keywords" content="乐知教育,IT,在线学习,视频,教育,开发,培训,技术,讲座,访谈,活动,课程">
        <meta name="description" content="乐知教育专注做高端IT在线学习平台，提供IT领域的高逼格课程、技术讲座、大牛访谈录和线下俱乐部。课程涵盖C,C++,C#,Python,Hadoop,Linux,软件调试,微软虚拟化,设计模式,大数据,敏捷开发等多个领域">

        <link href="http://boolan.com/favicon.ico" type="image/x-icon" rel="icon">
        <link href="http://boolan.com/favicon.ico" type="image/x-icon" rel="shortcut icon">
        <link href="~/Content/css/main.css" rel="stylesheet" />
        <link href="~/Content/css/bootstrap2.css" rel="stylesheet" />
        <link href="~/Content/css/common.css" rel="stylesheet" />
        <link href="~/Content/css/font-awesome.min.css" rel="stylesheet" />
        <link href="~/Content/css/es-icon.css" rel="stylesheet" />
        <title>乐知教育,高端IT在线学习平台</title>

        <link rel="stylesheet" href="/Content/Index/css/shared-layout-6715bec318.css">
        <style>
            * {
                -moz-box-sizing: border-box !important;
                -webkit-box-sizing: border-box !important;
                -o-box-sizing: border-box !important;
                -ms-box-sizing: border-box !important;
                box-sizing: border-box !important;
            }

            #top-hint {
                min-width: 1200px;
            }

            .navbar {
                min-width: 1200px;
            }

                .navbar:before, .navbar:after {
                    content: " ";
                    display: table;
                }

                .navbar:after {
                    clear: both;
                }


            .footer {
                min-width: 1200px;
            }

                .footer:before, .footer:after {
                    content: " ";
                    display: table;
                }

                .footer:after {
                    clear: both;
                }


                .footer li > a {
                    line-height: normal;
                }


            .notification {
                position: absolute;
                width: 170px;
                background-color: #F3EFC4;
                color: #2c3e50;
                font-size: 12px;
                top: 75px;
                z-index: -1;
            }

            .notification-item {
                height: 30px;
                line-height: 30px;
                padding-left: 12px;
                margin-top: 0;
                margin-bottom: 0;
                display: none;
            }

                .notification-item .btn-close {
                    width: 14px;
                    height: 14px;
                    margin: auto;
                    float: none;
                    display: inline-block;
                    float: right;
                    margin-top: 8px;
                    margin-right: 4px;
                }

                    .notification-item .btn-close:hover {
                        cursor: pointer;
                    }

            .notification-item-checklink {
                color: #3665ad;
            }

            #top-hint {
                background: #fff29d;
            }

            .top-hint-close-button {
                display: block;
                float: right;
                margin-right: 20px;
            }

                .top-hint-close-button:hover {
                    cursor: pointer;
                }

            .top-hint-mainPart {
                height: inherit;
                float: left;
                width: 1000px;
                height: 38px;
            }

                .top-hint-mainPart > p {
                    margin-top: 8px;
                    margin-bottom: 0;
                    color: #333;
                }

                .top-hint-mainPart:hover {
                    cursor: pointer;
                }


            /*网站公告的样式*/

            /*顶部滚动秀*/
            #zzjs_net {
                float: left;
                overflow: hidden;
                height: 18px;
                padding: 0px;
                width: 180px;
                margin-top: 3px;
            }

            #www_zzjs_net {
                float: left;
                text-align: left;
                width: 180px;
                font-size: 20px;
                font-family: "宋体";
            }

                #www_zzjs_net ul {
                    list-style: none;
                    padding: 0;
                    margin: 0;
                }

                #www_zzjs_net li {
                    line-height: 18px;
                    padding-left: 20px;
                }

                    #www_zzjs_net li a {
                        color: #FF0000;
                        text-decoration: none;
                    }
        </style>

        <link href="/Content/Index/css/home-index.css" rel="stylesheet">
        @*<script src="/Content/Index/js/jquery-2.1.4.min.js"></script>*@
        <script src="~/bootstrap-3.3.5-dist/jquery-2.0.0.min.js"></script>
        <script src="~/bootstrap-3.3.5-dist/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
        @*<link href="~/bootstrap-3.3.5-dist/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet" />*@

        <script src="http://hm.baidu.com/hm.js?cb581c4d338ec0f3b1ae74d12dad369a"></script>
        <script>
            var _hmt = _hmt || [];
            (function () {
                var hm = document.createElement("script");
                hm.src = "//hm.baidu.com/hm.js?cb581c4d338ec0f3b1ae74d12dad369a";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();
        </script>


    </head>
    <body>
        <!-- 网页导航菜单分布视图 -->
       
        <!--公告弹出警告框-->
        @{
            List<LeEdu.MODEL.Bulletin> list = new LeEdu.DAL.BulletinDAL().GetAll();

            if (list != null)
            {

                <div class="alert alert-warning alert-dismissible" role="alert" style="height:30px;padding-bottom:35px;margin-bottom:0px;">
                    <button type="button" class="close fade" data-dismiss="alert" aria-label="Close" style="float:right"><span aria-hidden="true">&times;</span></button>
                    <div id="zzjs_net">
                        <div id="www_zzjs_net" style="float:left;font-size:12px;">
                            <ul>
                                @foreach (var item in list)
                                {
                                    if (item.MSTARTTIMR < DateTime.Now && item.MFINISHTIME > DateTime.Now)
                                    {
                                        <li>
                                            <a href="@item.BSOURCE" target="_blank">@item.BNAME</a>
                                        </li>
                                    }
                                }
                            </ul>
                        </div>
                    </div>
                </div>
            }
        }
        <header class="navbar">
            <div class="container">
                <h1 class="navbar-brand"><a href="/Home/Index"><img src="http://boolan.com/img/boolan-logo.png"></a></h1>
                <nav class="nav navbar-nav">
                    <ul>
                        <li><a href="/Home/Index" class="active">首页</a></li>
                        <li><a href="/Home/Boutique">精品课程</a></li>
                        <li><a href="/Home/GeekClass">极客班</a></li>
                        <li><a href="#">专家名师</a></li>
                    </ul>
                </nav>
                @{
                    if (Session["User"] != null)
                    {

                        if (Convert.ToInt32(Session["RoleId"]) == 0)
                        {
                            <figure class="avatar navbar-avatar dd-menu">
                                @{
                            var ddd = Session["User"] == null ? "" : (Session["User"] as LeEdu.MODEL.UserInfo).Avatar;}
                                @if (ddd == null)
                                {
                                    <img class="dd-menu-trigger" src="~/Content/img/default-head-image.png" />
                                }
                                else
                                {
                                    <img class="dd-menu-trigger" src="~/Img/@ddd" />
                                }



                                <ul>
                                    @{var c = (Session["User"] as LeEdu.MODEL.UserInfo).UserInfoId; }
                                    <li>
                                        <a href="/Group/batchShow">
                                            <span class="pull-right num"></span>
                                            <i style="margin-left: -40px; margin-right: 20px;" class="es-icon es-icon-notificationson"></i>
                                            站内通知
                                        </a>
                                    </li>

                                    <li>
                                        <a href="/Home/Personage/@c">
                                            <img src="/Content/Index/img/setting.png" /><span>个人设置</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="/Home/Exit">
                                            <img src="/Content/Index/img/signout.png" /><span>注销登录</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="/Admin/Index">
                                            <img src="/Content/Index/img/signout.png" /><span>后台管理</span>
                                        </a>
                                    </li>
                                </ul>
                                <figcaption style="height:75px;"><span>@Session["Uname"]</span></figcaption>
                            </figure>
                        }
                        else
                            if (Convert.ToInt32(Session["RoleId"]) == 1)
                            {
                                <figure class="avatar navbar-avatar dd-menu">

                                    @{ var ddd = Session["User"] == null ? "" : (Session["User"] as LeEdu.MODEL.UserInfo).Avatar;
                                    }
                                    @if (ddd == null)
                                    {
                                        <img class="dd-menu-trigger" src="~/Content/img/default-head-image.png" />
                                    }
                                    else
                                    {
                                        <img class="dd-menu-trigger" src="~/Img/@ddd" />
                                    }



                                    <ul>
                                        @{
                                var c = (Session["User"] as LeEdu.MODEL.UserInfo).UserInfoId; }
                                        <li>
                                            <a href="/Group/batchShow">
                                                <span class="pull-right num"></span>
                                                <i class="es-icon es-icon-notificationson"></i>站内通知
                                            </a>
                                        </li>
                                        <li>
                                            <a href="/Home/Personage/@c">
                                                <img src="/Content/Index/img/setting.png" /><span>个人设置</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="/Login/Index">
                                                <img src="/Content/Index/img/signout.png" /><span>注销登录</span>
                                            </a>
                                        </li>
                                    </ul>
                                    <figcaption style="height:75px;"><span>@Session["Uname"]</span></figcaption>
                                </figure>
                            }
                            else
                                if (Convert.ToInt32(Session["RoleId"]) == 2)
                                {
                                    <figure class="avatar navbar-avatar dd-menu">

                                        @{ var ddd = Session["User"] == null ? "" : (Session["User"] as LeEdu.MODEL.UserInfo).Avatar;
                                             if (ddd == null)
                                             {
                                                <img class="dd-menu-trigger" src="~/Content/img/default-head-image.png" />
                                             }
                                             else
                                             {
                                                <img class="dd-menu-trigger" src="~/Img/@ddd" />
                                             }
                                         }                                    
                                        <ul>
                                            @{
                                    var c = (Session["User"] as LeEdu.MODEL.UserInfo).UserInfoId; }
                                            <li>
                                                <a href="/Group/batchShow">
                                                    <span class="pull-right num"></span>
                                                    <i class="es-icon es-icon-notificationson"></i>站内通知
                                                </a>
                                            </li>
                                            <li>
                                                <a href="/Home/Personage/@c">
                                                    <img src="/Content/Index/img/setting.png" /><span>个人设置</span>
                                                </a>
                                            </li>
                                            <li>
                                                <a href="/my/Index">
                                                    <img src="/Content/Index/img/messages.png" /><span>我的教学</span>
                                                </a>
                                            </li>
                                            <li>                                            
                                                <a href="/Course/index">
                                                    <img src="/Content/Index/img/messages.png" /><span>教师课程</span>
                                                </a>
                                            </li>
                                            <li>
                                                <a href="/Login/Index">
                                                    <img src="/Content/Index/img/signout.png" /><span>注销登录</span>
                                                </a>
                                            </li>
                                        </ul>
                                        <figcaption style="height:75px;"><span>@Session["Uname"]</span></figcaption>
                                    </figure>
                                }

                    }
                    else
                    {
                        <div class="navbar-button-group button-group">
                            <ul>
                                <li>

                                    <a class="button" href="/Register/Index">注册</a>

                                </li>


                                <li><a class="button-blue" href="/Login/Index">登录</a></li>

                            </ul>
                        </div>}}
            </div>
        </header>

        <div class="container">

            <div class="es-section course-manage-header clearfix">
                @*<a href="/course/157">*@
                    @{
                    if (Session["CoursesCImage"].ToString() == "#")
                    {
                    <img class="picture" src="~/Content/img/user.png">
                    }
                    else
                    {
                    <img class="picture" src="~/Content/images/@Session["CoursesCImage"]">
                    }
                    @*<img class="picture" src="/assets/img/default/course.png?6.15.2">*@
                    }
                @*</a>*@
                <h1 class="title">
                    @*<a class="link-dark" href="/course/157">*@
                    @Session["CoursesCSutTitle"]
                    @*</a>*@
                </h1>

                <div class="teachers">
                    教师：
                    @*<a href="/user/4">*@
                    @Session["CoursesCreatePeople"]
                    @*</a>*@
                </div>

                <div class="toolbar hidden-xs">

                    <div class="btn-group">
                        <a class="btn btn-default btn-sm" href="/course/index">返回课程主页</a>
                    </div>

                    <div class="btn-group">
                        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">预览 <span class="caret"></span></button>
                        <ul class="dropdown-menu pull-right">
                            <li><a href="/course/157?previewAs=member" target="_blank">作为 已购买用户</a></li>
                            <li><a href="/course/157?previewAs=guest" target="_blank">作为 未购买用户</a></li>
                        </ul>
                    </div>


                </div>
            </div>

            <div class="row">

                <!-- 网页左侧菜单分布视图 -->
                @Html.Partial("~/Views/Shared/CouseCreateManage_Menu_Left.cshtml")


                <div class="col-md-10">


                    <div class="panel panel-default panel-col">
                        <div class="panel-heading clearfix">
                            题目管理
                        </div>
                        <div class="panel-body">

                            <ol class="breadcrumb">
                                <li><a href="/course/157/manage/question">题目管理</a></li>
                                <li class="active">添加题目</li>
                            </ol>

                            <div id="question-creator-widget" data-upload-url="/Course/AddGapfilling" data-media-upload-params-url="/uploadfile/params?targetType=question&amp;targetId=0" data-media-upload-callback-url="/uploadfile/cloud_callback?targetType=question&amp;targetId=0" data-widget-cid="widget-0">
                                <form id="question-create-form" data-role="question-form" class="form-horizontal quiz-question" method="post" action="/Course/AddGapTo" novalidate="novalidate" data-widget-cid="widget-1">


                                    <div class="form-group">
                                        <div class="col-md-2 control-label"><label>从属</label></div>
                                        <div class="col-md-8 controls">
                                            <select class="form-control width-input width-input-large" name="target" data-role="target">
                                                @{
                                                    LeEdu.BLL.CourseBLL cbll = new LeEdu.BLL.CourseBLL();
                                                    int id = Convert.ToInt32(Session["Coursesid"]);
                                                    List<LeEdu.MODEL.Courses> courlist = cbll.GetAll().Where(p => p.CoursesId == id).ToList();
                                                    foreach (var item in courlist)
                                                    {
                                                        <option value="course-157/lesson-168">@item.CoursesName</option>
                                                    }
                                                }              
                                            </select>
                                            <div class="help-block">可以针对本课程或者某个课时出题</div>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="col-md-2 control-label"><label>难度</label></div>
                                        <div class="col-md-8 controls radios">
                                            <label>
                                                @Html.RadioButton("Difficulty", 0)简单
                                                @Html.RadioButton("Difficulty", 1, true)一般
                                                @Html.RadioButton("Difficulty", 2)困难
                                            </label>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="col-md-2 control-label"><label for="question-stem-field">题干</label></div>
                                        <div class="col-md-8 controls">
                                            <textarea class="form-control" id="question-stem-field" data-image-upload-url="/editor/upload?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDQ4NDk5OHw5NmU3OGFjMmI3YWZhNmQ5ODI5YmJhODgyZGYwNTI2ZA" data-image-download-url="/editor/download?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDQ4NDk5OHw5NmU3OGFjMmI3YWZhNmQ5ODI5YmJhODgyZGYwNTI2ZA" name="stem" style="height: 180px; visibility: hidden; display: none; " data-widget-cid="widget-4" data-explain="点击编辑器按钮 &lt;span style=&quot;color:red&quot;&gt;[ ]&lt;/span&gt;  可以插入填空项；也可手工输入，例如“今年是[[2014|马]]年”，回答“2014”或者“马”都算答对"></textarea>
                                            <script type="text/javascript">CKEDITOR.replace('stem');</script><br />

                                            正确答案： @Html.TextBox("Correct")
                                        </div>
                                    </div>


                                    <div class="form-group">
                                        <div class="col-md-8 col-md-offset-2 controls ">
                                            <a href="javascript:;" data-toggle="collapse" data-role="advanced-collapse" data-target="#advanced-collapse" class="text-success collapsed">» 显示/隐藏 高级选项 ...</a>
                                        </div>
                                    </div>

                                    <div id="advanced-collapse" class="advanced-collapse collapse">
                                        <div class="form-group">
                                            <div class="col-md-2 control-label"><label for="question-analysis-field">解析</label></div>
                                            <div class="col-md-8 controls">

                                                <textarea class="form-control" id="question-analysis-field" data-image-upload-url="/editor/upload?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDQ4NDk5OHw5NmU3OGFjMmI3YWZhNmQ5ODI5YmJhODgyZGYwNTI2ZA" name="Analysis" data-image-download-url="/editor/download?token=NHxjb3Vyc2V8aW1hZ2V8MTQ2MDQ4NDk5OHw5NmU3OGFjMmI3YWZhNmQ5ODI5YmJhODgyZGYwNTI2ZA" style="visibility: hidden; display: none; "></textarea>
                                                <script type="text/javascript">CKEDITOR.replace('Analysis');</script>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <div class="col-md-2 control-label"><label for="question-score-field">分值</label></div>
                                            <div class="col-md-4 controls">
                                                <input class="form-control" value="2" type="text" id="question-score-field" name="Value" data-widget-cid="widget-3" data-explain="">
                                                <div class="help-block" style="display:none;"></div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="col-md-8 col-md-offset-2 controls">
                                            <button type="submit" data-role="submit" class="btn btn-primary submit-btn" data-submission="continue">保存并继续添加</button>
                                            <button type="submit" data-role="submit" class="btn btn-primary submit-btn" data-submission="submit">保存</button>
                                            <a href="/Course/TitleManage/@Session["Coursesid"]" class="btn btn-link">返回</a>
                                        </div>
                                    </div>

                                    <input type="hidden" name="submission">
                                    <input type="hidden" name="type" value="fill">
                                    <input type="hidden" name="parentId" value="0">
                                    <input type="hidden" name="_csrf_token" value="7dd954af78501a3fef57e7aba9e83c17a08268e4">

                                </form>

                            </div>

                        </div>
                    </div>


                </div>
            </div>
        </div>

        <footer class="footer">
            <div class="footer-row-1">
                <div class="container">
                    <div class="row">
                        <section class="col-5" style="width:450px;">
                            <h2>乐知教育,高端IT在线学习平台</h2>
                            <nav>
                                <ul>
                                    <li><a target="_blank" href="#">关于博览</a><span>&nbsp;|&nbsp;</span></li>
                                    <li><a target="_blank" href="#">加入我们</a><span>&nbsp;|&nbsp;</span></li>
                                    <li><a target="_blank" href="#">联系我们</a><span>&nbsp;|&nbsp;</span></li>
                                    <li><a target="_blank" href="#">意见反馈</a></li>
                                </ul>
                            </nav>
                        </section>
                        <section class="col-5 footer-companion">
                            <h2>合作伙伴</h2>
                            <nav>
                                <ul>
                                    <li><a href="#" target="_blank"><img src="/Content/Index/img/yunKeTang.png"></a> </li>
                                    <li><a href="#" target="_blank"><img src="/Content/Index/img/ppCloud.png"></a></li>
                                    <li><a href="#" target="_blank"><img src="http://boolan.com/img/shareLayout/google.png" style="display: none !important;"></a></li>
                                    <li><a href="#" target="_blank"><img src="/Content/Index/img/microsoft.png"></a></li>
                                </ul>
                            </nav>
                        </section>
                        <div class="col-2 footer-phone-email">
                            <p class="phone">+400-886-0806</p>
                            <p class="email">service@boolan.com</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer-row-2">
                <div class="container">
                    <div class="row">
                        <p class="col-10">©2015 boolan.com 乐知教育 版权所有&nbsp;&nbsp;&nbsp;&nbsp;温故知新（上海）教育科技有限公司&nbsp;&nbsp;&nbsp;&nbsp;沪ICP备15014563号</p>
                        <nav class="col-2" style="margin-right:0px;">
                            <ul>
                                <li><a target="_blank" href="http://boolan.com/company/feedback"><img src="/Content/Index/img/feedback.png"></a></li>
                                <li><a href="tencent://message/?uin=281101184&Site=www.qq.com&Menu=yes"><img src="/Content/Index/img/qq.png"></a></li>
                                <li><a href="http://weibo.com/boolan" target="_blank"><img src="/Content/Index/img/weibo.png"></a></li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </div>
        </footer>


        <script src="/Content/Index/js/jquery.form.js"></script>
        <script src="/Content/Index/js/auto_textarea.js"></script>
        <script src="/Content/Index/js/popup_tip.js"></script>
        <!-- 实现导航栏的下拉菜单-->
        <script src="/Content/Index/js/dropDownMenu.js"></script>

        <!-- 公告弹出框-->
        <script type="text/javascript" language="javascript">

            //以下参数请勿修改
            try {
                var marqueesHeight = 18; //高度
                var stopscroll = false;
                var scrollElem = document.getElementById("zzjs_net");
                with (scrollElem) {
                    style.width = 180;//宽度
                    style.height = marqueesHeight;
                    style.overflow = 'hidden';
                    noWrap = true;
                }
                scrollElem.onmouseover = new Function('stopscroll = true');
                scrollElem.onmouseout = new Function('stopscroll = false');
                var preTop = 0;
                var currentTop = 0;
                var stoptime = 0;
                var leftElem = document.getElementById("www_zzjs_net");
                scrollElem.appendChild(leftElem.cloneNode(true));
                init_srolltext();
            } catch (e) { }
            function init_srolltext() {
                scrollElem.scrollTop = 0;
                setInterval('scrollUp()', 15); //滚动速度
            }
            function scrollUp() {
                if (stopscroll) return;
                currentTop += 1;
                if (currentTop == 19) { //滚动距离
                    stoptime += 1;
                    currentTop -= 1;
                    if (stoptime == 220) { //停顿时间
                        currentTop = 0;
                        stoptime = 0;
                    }
                } else {
                    preTop = scrollElem.scrollTop;
                    scrollElem.scrollTop += 1;
                    if (preTop == scrollElem.scrollTop) {
                        scrollElem.scrollTop = 0;
                        scrollElem.scrollTop += 1;
                    }
                }
            }
        </script>





        <!-- 实现消息操作 -->
        <script>
            $(function () {
                //通过轮询查看是否有新消息
                function longPolling() {
                    $.ajax({
                        url: "/MessageCenter/AnyNewMessage",
                        type: "POST",
                        dataType: "json",
                        cache: false,
                        timeout: 5000,
                        error: function (XMLHttpRequest, textStatus, errorThrown) {
                            if (textStatus == "timeout") {
                                //请求超时
                            } else {
                                //其他错误
                            }
                        },

                        success: function (data, textStatus) {
                            if (data != undefined && data.Status == "success" && data.Message == "ok") {
                                showMessage(data.Data);
                            }
                        }
                    });
                }
                setInterval(longPolling, 10000);

                //<p class="notification-item">您有3条新回复&nbsp;<a class="notification-item-checklink" href="#">查看</a><a href="#"><img class="btn-close" src="~/img/close.png" /></a></p>
                //<p class="notification-item">您有5条新系统消息&nbsp;<a class="notification-item-checklink" href="#">查看</a><a href="#"><img class="btn-close" src="~/img/close.png" /></a></p>

                //显示新消息
                function showMessage(data) {
                    if (data.NewOfficialCount > 0) {
                        $("#official-notification span").text("您有" + data.NewOfficialCount + "条新系统消息");
                        $("#official-notification .btn-close").click(clearOfficialMessage);
                        $("#official-notification").show();
                    }

                    if (data.NewReplyCount > 0) {
                        $("#reply-notification span").text("您有" + data.NewReplyCount + "条新回复");
                        $("#reply-notification .btn-close").click(clearReplyMessage);
                        $("#reply-notification").show();
                    }
                }

                //当点击查看按钮后，隐藏消息提醒，并向服务器发送请求，消除未读消息
                function clearReplyMessage() {
                    $("#reply-notification").hide();
                    $.post("/MessageCenter/ClearReply");
                }

                function clearOfficialMessage() {
                    $("#official-notification").hide();
                    $.post("/MessageCenter/ClearOfficial");
                }

            });
        </script>
        <!--实现顶部广告条-->
        <script src="/Content/Index/js/tophint.js"></script>
        <script src="/Content/Index/js/banner-rotate.js"></script>
    </body>
</html>